<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div style="position:absolute;height: auto;">
        <div style="position:absolute;width:240px;height:100%;float:left;background:#f00;">
            1222
        </div>
        <div style="margin-left:240px;background:#0f0;">
3333            
<div style="height:1000px;">

</div>
        </div>
    </div>
</body>
</html>